package com.serkol.ams.mapper;

import com.serkol.ams.entity.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author Administrator
* @description 针对表【users】的数据库操作Mapper
* @createDate 2025-03-13 11:39:41
* @Entity com.serkol.ams.entity.Users
*/
public interface UsersMapper extends BaseMapper<Users> {
  //  @Select("SELECT * FROM users WHERE (USER_NAME = #{userName} OR PHONE = #{userName}) AND USER_PASSWORD = MD5(#{password})  AND  DELETED=0 LIMIT 1")
    Users login(@Param("userName") String userName, @Param("password") String password);
}




